/* ══════════════════════════════════════════════════════
   FLUJO DE LA APP — estilosmapa.css
   Página de mapa/flujo · estética FADU COME
   Paleta: #0B00A8 / #D9FF66 / #F5F5F5 / #111111
══════════════════════════════════════════════════════ */

:root {
  --blue:      #0B00A8;
  --blue-dark: #07007A;
  --lime:      #D9FF66;
  --white:     #F5F5F5;
  --black:     #111111;
  --font-sans: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--blue);
  color: var(--white);
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
}

/* ── Grilla blueprint de fondo ── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(217, 255, 102, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 255, 102, 0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: grid-drift 14s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 42px 42px; }
}

/* Watermark gigante del año (guiño al splash de la app) */
.year-mark {
  position: fixed;
  bottom: -2.5rem;
  right: 1.5rem;
  z-index: 0;
  font-family: var(--font-mono);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

/* ── Link de volver ── */
.back {
  position: fixed;
  top: 1.4rem;
  left: 1.6rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245, 245, 245, 0.7);
  transition: color 0.25s ease;
}
.back:hover { color: var(--lime); }

/* ── Menú del header (mismo estilo que el link de volver) ── */
.map-nav {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.map-nav__link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245, 245, 245, 0.7);
  transition: color 0.25s ease;
}
.map-nav__link:hover { color: var(--lime); }

.map-nav__sep {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(245, 245, 245, 0.3);
}

/* ── Contenido ── */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--lime);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.title {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 2.6rem;
}
.title em {
  font-style: normal;
  color: var(--lime);
}

/* ── Tarjeta del embed ── */
.embed-card {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.embed-caption {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}

@media (max-width: 600px) {
  .embed-card { border-radius: 20px; padding: 10px; }
  .embed-frame { border-radius: 12px; }
  .back { left: 1.2rem; }
  .map-nav { right: 1.2rem; gap: 0.5rem; }
  .map-nav__link,
  .map-nav__sep { font-size: 0.62rem; letter-spacing: 0.08em; }
}